﻿/*
 * Created by SharpDevelop.
 * User: wbettencourt
 * Date: 02/11/2011
 * Time: 01:58 p.m.
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Runtime.Serialization;

namespace Principal
{
    /// <summary>
    /// Desctiption of DatabaseOperationException.
    /// </summary>
    public class DatabaseOperationException : Exception, ISerializable
    {
        public DatabaseOperationException()
        {
        }

        public DatabaseOperationException(string message) : base(message)
        {
        }

        public DatabaseOperationException(string message, Exception innerException) : base(message, innerException)
        {
        }

        // This constructor is needed for serialization.
        protected DatabaseOperationException(SerializationInfo info, StreamingContext context) : base(info, context)
        {
        }
    }
}